var vm = new Vue({
    el:'#vm',
    data: {
        list: []
    },
    methods: {

    },
    created: function () {
        console.log('加载期');
    },
    mounted: function (){
        console.log('挂载完成了');
        console.log(this.list);
    }
})
var list = [
    {name:'wu',age:13,sex:'男'},
    {name:'wu',age:13,sex:'男'},
    {name:'wu',age:13,sex:'男'},
];
var list1 = [
    {name:'wu1',age:13,sex:'男'},
    {name:'wu2',age:10,sex:'男'},
    {name:'wu3',age:13,sex:'男'},
];
vm.list = list;
var btn = document.getElementById('btn');
btn.onclick = function () {
    vm.list = list1;
}